/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    margin: 0;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: 40px;
    width: 100%;
    position: static;
    left: unset;
    bottom: unset;
    z-index: unset;
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* 导航菜单样式增强 */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 移动端导航菜单样式 */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #0d6efd;
        border-radius: 0 0 10px 10px;
        padding: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        border-radius: 5px;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .navbar-nav .nav-link i {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }
}

/* 卡片样式 */
.card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.card-header {
    font-weight: bold;
}

/* 仪表板紧凑样式 */
.col-lg-7 .card {
    transition: all 0.2s ease;
}

.col-lg-7 .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.col-lg-7 .card-body {
    padding: 1rem;
}

.col-lg-7 .alert {
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
}

.col-lg-7 .btn {
    padding: 0.4rem 1rem;
}

/* 系统导航卡片 */
.card .card-header.bg-success {
    background-color: #28a745 !important;
}

.card-body.text-center {
    padding: 1.5rem;
}

.card-body.text-center p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #555;
}

/* 按钮样式 */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    margin: 10px 0;
}

/* 表单样式 */
.form-control {
    border-radius: 0.5rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
    
    .navbar-subtitle {
        display: none;
    }
}

/* 动画效果 */
.alert {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.footer-subtitle {
    font-size: 1rem;
    color: #888;
    margin-top: 0.2rem;
}

.navbar-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

.navbar-subtitle {
    font-size: 0.95rem;
    color: #e0e0e0;
    font-weight: normal;
}

.main-navbar {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
}

@media (max-width: 991.98px) {
    .main-navbar {
        height: auto;
        min-height: 60px;
        max-height: none;
    }
}

.main-footer {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    margin-top: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    z-index: 100;
    font-size: 0.9em;
    color: #6c757d;
}

.login-page-center {
    min-height: calc(100vh - 60px - 80px);
    height: calc(100vh - 60px - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    margin: auto 0;
}

.card-container {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.login-page-center .card {
    width: 100%;
}

a:hover {
    text-decoration: underline;
}

.main-navbar .navbar-brand {
    font-weight: bold;
}

html, body {
    height: 100%;
}

.content-wrapper {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
}

/* 导航菜单图标样式 */
.navbar-nav .nav-link i {
    margin-right: 5px;
} 